package com.study.xml.domain;

/**
* @Name: Book
* @Description: VO对象：书本信息
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-26 上午11:37:08 
* @Version: V1.0
 */
public class Book {
	
	private String name ;
	private String author ;
	private Double price ;
	
	public Book() {
	}
	public Book(String name, String author, Double price) {
		this.name = name;
		this.author = author;
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Book [name=" + name + ", author=" + author + ", price=" + price
				+ "]";
	}

}
